package com.hxit.huaxiamelongarden.domin.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("favorites")
public class Favorites {
    @Schema(description = "收藏记录的唯一标识ID", example = "1")
    private Integer favoriteId;

    @Schema(description = "收藏用户的ID", example = "123")
    private Integer userId;

    @Schema(description = "收藏的内容ID", example = "456")
    private Integer contentId;

    @Schema(description = "收藏时间", example = "2023-10-01T12:00:00Z")
    private Timestamp createdAt;
}
